← Back to issue list

Running snapcraft 3 w/ core18 base in docker incorrectly reports missing lib deps

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1826611
Type
issue
State
open
Author
~anonymouse67
Labels
Created
2019-04-26 22:16:34.092833+00:00
Updated
2019-05-07 22:23:29.706543+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When building a snap using snapcraft 3.X in a docker container and specifying `base: core18`, snapcraft doesn't attempt to install the core18 snap which is fine since we build inside a ubuntu:18.04 container and have all the needed dependencies, however it then proceeds to claim that executables in the snap need dependencies that are not present in the snap or the base snap. However this is incorrect as all the required libraries are actually in the base snap. For example, when building curl: ``` Priming curl The 'curl' part needs the following libraries that are not included in the snap or base: lib/x86_64-linux-gnu/libc.so.6 lib/x86_64-linux-gnu/libcrypt.so.1 lib/x86_64-linux-gnu/libdl.so.2 lib/x86_64-linux-gnu/libm.so.6 lib/x86_64-linux-gnu/libpthread.so.0 lib/x86_64-linux-gnu/libresolv.so.2 lib/x86_64-linux-gnu/libz.so.1 ``` All of which are in the core18 snap.

Evaluation history

No evaluation history available.